<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"  contentType="text/html; charset=utf-8"  %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%=basePath%>crm_demo/html/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=basePath%>crm_demo/html/script/common.js" ></script>
</head>
<body>

<div class="page_title">销售机会管理&nbsp; &gt; 新建销售机会</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="back();">返回</button>
	<button class="common_button" onclick="updateMar('save');">保存</button>  
</div>
<form action="../SaveUpDelMarket.action?peram=save" id="save" method="post">
<table class="query_form_table">
	<tr>
		<th>编号</th>
		<td><input readonly /></td>
		<th>机会来源</th>
		<td>
			<input name="market.changeSource" size="20" /></td>
	</tr>
	<tr>
		<th>客户名称</th>
		<td><input name="market.cusName"  value=""/><span class="red_star">*</span></td>
		<th>成功机率</th>
		<td><input name="market.odds"  value=""/><span class="red_star">*</span></td>
	</tr>	
	<tr>
		<th>概要</th>
		<td colspan="3"><input name="market.outLine"  value=""/><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>联系人</th>
		<td><input name="market.connPeop"  value=""/></td>
		<th>联系人电话</th>
		<td><input name="market.connTel"  value=""/></td>
	</tr>
	<tr>
		<th>机会描述</th>
		<td colspan="3"><textarea rows="6" cols="50" name="market.describe" ></textarea><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>创建人</th>
		
		<td><input name="market.createManager" readonly value='<s:property value="#session.user.userName"/>'/><span class="red_star">*</span></td>
		<th>创建时间</th>
		<td><input id="t1" readonly name="market.createDate" value=""/><span class="red_star">*</span></td>
	</tr>
</table>
</form>
<br />
<table disabled class="query_form_table" id="table1">
	<tr>
		<th>指派给</th>
		<td>
			<select name="D1">
				<option>请选择...</option>
				<option>小明</option>
				<option>旺财</option>
				<option>球球</option>
				<option>孙小美</option>
				<option>周洁轮</option>
			</select> <span class="red_star">*</span></td>
		<th>指派时间</th>
		<td>
			<input id="t2" name="T20" readonly size="20" /><span class="red_star">*</span></td>
	</tr>
</table>
<script>
	setCurTime('t1');
	setCurTime('t2');
	function updateMar(id){
	document.getElementById(id).submit();
}
</script>
</body>
</html>